
		<ol class="breadcrumb">
		  <li><a href="/users/index"><i class="fa fa-home"></i>&nbsp;&nbsp;{{lang('dashboard')}}</a></li>
		  <li><a href="/trades/mine">{{lang('trade')}}</a></li>
		  <li class="active">{{lang('manage_trade_product')}}</li>
		</ol>           
       <hr>

{{$this->Form->create('Trade',array('class'=>'form-horizontal','role'=>'form'))}}
	<div class="form-group">
		<label class="col-sm-2 control-label" for="TradeName">{{lang('name')}}</label>
		<div class="col-sm-9 controls">
			{{$this->Form->hidden('id')}}
			{{$this->Form->input('name',array('class'=>'form-control','div'=>false,'label'=>false))}}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="TradeCoverimg">{{lang('images')}}</label>
		<div class="col-sm-9 controls select">
			{{$this->Swfupload->load('coverimg',array(
			'label'=>false,'modelClass'=>'Trade',
			'no_db'=>1,'upload_limit'=>1,
			'file_types'=> '*.jpg;*.gif;*.png;*.bmp',
			'isadmin'=>false
			))}}
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="TradePrice">{{lang('price')}}</label>
		<div class="col-sm-9 controls number">
			{{$this->Form->input('price',array('class'=>'form-control','type'=>'number','div'=>false,'label'=>false))}}
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="TradeName">{{lang('content')}}</label>
		<div class="col-sm-9">
			{{$this->Form->input('content',array('class'=>'form-control','div'=>false,'label'=>false,'rows'=>'3','after'=>'<p></p>'))}}
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="TradeName"></label>
		<div class="col-sm-9"><input class="btn btn-primary" type="submit" value="{{lang('submit')}}"></div>
	</div>
{{$this->Form->end()}}

{{$this->Html->script(array(
	'swfupload/swfupload.js',
	'swfupload/swfupload.queue.js',
	'swfupload/swfupload.cookies.js',
	'swfupload/fileprogress.js',
	'swfupload/handlers.js',
))}}